package net.bwie.realtime.service.jtprealtimeservice.service.impl;

import net.bwie.realtime.service.jtprealtimeservice.been.TrafficUvBeen;
import net.bwie.realtime.service.jtprealtimeservice.mapper.TrafficMapper;
import net.bwie.realtime.service.jtprealtimeservice.service.TrafficService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TrafficServiceImpl implements TrafficService {
    @Autowired
    TrafficMapper trafficMapper;


    @Override
    public List<TrafficUvBeen> getUVCount(String date) {
        return trafficMapper.getUVCount(date);
    }

    @Override
    public List<TrafficUvBeen> getPVCount(String date) {
        return trafficMapper.getPVCount(date);
    }
}
